<?php
use yii\helpers\Html;
?>

<?=Html::beginForm('', 'post', ['class' => 'form']);?>
<?=Html::activeInput('text', $model, 'title', ['class' => 'form-control']);?>
<?=Html::activeTextInput($model, 'title', ['class' => 'form-control']);?>
<?=Html::activeTextarea($model, 'content', ['class' => 'form-control']);?>
<?=Html::activeTextarea($model, 'desc', ['class' => 'form-control']);?>

<?=Html::submitButton('提交按钮', ['class' => 'bn bn-control']);?>
`
<?=Html::endForm();?>
